package com.micai.springboot.entity.sys;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.micai.springboot.base.BizEntity;

import java.sql.Timestamp;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/26 14:34
 * @Description: 消息接收表
 */
@TableName("sys_msg_receive")
public class SysMsgReceiveEntity extends BizEntity<SysMsgReceiveEntity> {
    /**
     * 消息编号
     */
    @TableField("msg_id")
    private String msgId;
    /**
     * 接收人
     */
    @TableField("update_by")
    private String updateBy;
    /**
     * 接收时间
     */
    @TableField("update_date")
    private Timestamp updateDate;
    /**
     * 状态 0未读 1已读
     */
    @TableField("status")
    private int status;

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Timestamp getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Timestamp updateDate) {
        this.updateDate = updateDate;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
